<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>Prosessing Clock</title>
		<meta name="keywords" content="Prosessing,Clock,Adobe AIR,Ajax/HTML,Mootools,ProsessingAS" />
		<meta name="description" content="Prosessing Clock - Adode AIR Application" />
		<meta http-equiv="Content-Language" content="ja" />
		<meta http-equiv="Content-Script-Type" content="text/javascript" />
		<meta http-equiv="Content-Style-Type" content="text/css" />
		<script type="text/javascript" src="../libraries/air/AIRAliases.js"></script>
		<script type="text/javascript" src="../libraries/mootools/mootools-1.2.2-core.js"></script> 
		<script type="text/javascript" src="../libraries/processing/processing.as.js"></script> 
		<script type="text/javascript" src="js/processing.js"></script>
	</head>
	<body>
		<div id="warpper">
			<object
				id="processing"
				data="app:/libraries/processing/processing.swf"
				type="application/x-shockwave-flash"
				width="0" height="0">
        		<param name="allowScriptAccess" value="always" />
			</object>
		</div>
		<form action="#">
			<p><textarea id="code" name="code" cols="50" rows="20">
PImage flower;

void setup() {
  size(300, 150);
  noLoop();
  smooth();
  background(#ffffff);
  noStroke();

	flower = loadImage("pde/images/img_flower1.jpg");
}

void draw() {
  image(flower, 0, 0);
}
			</textarea></p>
			<p><input id="p" type="button" name="p" value="run" /></p>
		</form>
	</body>
</html>
